Skip to content

Issue 868: Fix 5.1/target/test_target_map_iterators.{F90,c} #869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tob2
Copy link
Collaborator

@tob2 tob2 commented Apr 22, 2025

OpenMP does not permit using the same containing array with the iterator modifier to the map clause (i.e. array[i]).

Solution: Make the testcase valid and more sensible by using an array of pointers to integer instead of a plain integer array, i.e. use ptrarry[i][:1] instead.

OpenMP does not permit using the same containing array with the
iterator modifier to the map clause (i.e. 'array[i]').

Solution: Make the testcase valid and more sensible by using an array
of pointers to integer instead of a plain integer array, i.e. use
'ptrarry[i][:1]' instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant